Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite LineString structure to better guarantee validation. [WIP] #155

Closed
wants to merge 6 commits into from

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Sep 4, 2017

No description provided.

@frewsxcv frewsxcv force-pushed the frewsxcv-linestring-validation branch from de19e26 to 7d36831 Compare September 12, 2017 02:18
frewsxcv added a commit that referenced this pull request Sep 23, 2017
Add new constructor functions for `LineString`, and a few other misc.
functions:

* `LineString`
  * `LineString::new`
  * `LineString::new_unchecked`
  * `LineString::points`
  * `LineString::points_mut`
  * `LineString::is_closed`
* `LineStringError`
  * `LineStringError::into_vec`

This is backwards compatible such that it doesn't un-`pub`licize the
`LineString` internals (yet). The intention is for this to land, migrate
everything to the new functions, then close off access to the internals.

Partially extracted from #155.
@frewsxcv
Copy link
Member Author

frewsxcv commented Jul 1, 2018

tracking issue #289

@frewsxcv frewsxcv closed this Jul 1, 2018
@frewsxcv frewsxcv deleted the frewsxcv-linestring-validation branch July 1, 2018 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant